package com.taoxi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.taoxi.common.annotation.Excel;
import com.taoxi.common.core.domain.BaseEntity;

/**
 * 纠纷管理对象 dispute
 * 
 * @author ruoyi
 * @date 2024-10-10
 */
public class Dispute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 纠纷id */
    private Long id;

    /** 发起方编号 */
    @Excel(name = "发起方编号")
    private Long initiatorId;

    /** 被诉方编号 */
    @Excel(name = "被诉方编号")
    private Long respondentId;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderNum;

    /** 纠纷类型 */
    @Excel(name = "纠纷类型")
    private String type;

    /** 纠纷状态 */
    @Excel(name = "纠纷状态")
    private String status;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 解决方式 */
    @Excel(name = "解决方式")
    private String method;

    /** 解决时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解决时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resolutionTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInitiatorId(Long initiatorId) 
    {
        this.initiatorId = initiatorId;
    }

    public Long getInitiatorId() 
    {
        return initiatorId;
    }
    public void setRespondentId(Long respondentId) 
    {
        this.respondentId = respondentId;
    }

    public Long getRespondentId() 
    {
        return respondentId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setResolutionTime(Date resolutionTime) 
    {
        this.resolutionTime = resolutionTime;
    }

    public Date getResolutionTime() 
    {
        return resolutionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("initiatorId", getInitiatorId())
            .append("respondentId", getRespondentId())
            .append("orderNum", getOrderNum())
            .append("type", getType())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("method", getMethod())
            .append("resolutionTime", getResolutionTime())
            .toString();
    }
}
